package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectAnswerDTO;
import com.jingdianjichi.subject.domain.entity.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Author: 蔺永斌
 * 分类DTO的转换
 * @Date: 2024/2/17
 * @Time: 13:55
 * @Description:
 */
@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);
    SubjectAnswerBO convertDTOtoBO(SubjectAnswerDTO subjectAnswerDTO);
    List<SubjectAnswerBO> convertListDTOtoBO(List<SubjectAnswerDTO> dtoList);
}
